package org.example.factory.abs.order;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 * @author wangbin
 * @date 2024/4/17
 * @vesion 1.0
 */
public class OrderPizza {

    AbsFactory absFactory;

    public void setAbsFactory(AbsFactory absFactory ){

    }

    private String getOrderType() throws IOException {
        BufferedReader bufferedReader= new BufferedReader(new InputStreamReader(new InputStream() {
            @Override
            public int read() throws IOException {
                return 0;
            }
        }));
        System.out.println("输入种类：");
       return   bufferedReader.readLine();

    }
}
